package com.yxw.yxnet_cd_center.customer_service.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yxw.yxnet_cd_center.customer_service.entity.YxCsPortEntity;
import com.yxw.yxnet_cd_center.customer_service.vo.PortVo;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 端口管理
 * @author liuxin
 * @date 2023-09-19
 */
@Repository
public interface PortMapper extends BaseMapper<YxCsPortEntity> {

    /**
     * 根据渠道查询端口列表
     * @param channelId
     * @return
     */
    List<PortVo> getPortList(Long channelId);
}
